<?php
include "./base.php";
$name = $_GET["aname"];
$building = $_GET["building"];
$roomid = $_GET["roomid"];
$bedid = $_GET["bedid"];
$college   = $_GET["college"];
$clazz  = $_GET["clazz"];
$gender  = $_GET["gender"];
$studentnum  = $_GET["studentnum"];
$phone  = $_GET["phone"];
$telphone  = $_GET["telphone"];
$sql = "insert into student value(null,'$name','$building','$roomid','$bedid','$college',$clazz,'$gender','$studentnum','$phone','$telphone')";
mysql_query($sql);
print_r("添加成功");
?>